package com.bw.service;

import com.bw.bean.Sugar1;
import com.bw.bean.Sugar2;
import com.bw.dao.SugarDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class SugarServiceImpl implements SugarService{
    @Autowired
    SugarDao sugarDao;

    @Override
    public double getList1() {
        return sugarDao.getList1();
    }

    @Override
    public List<Sugar1> getList2() {
        return sugarDao.getList2();
    }

    @Override
    public List<Sugar2> getList3() {
        return sugarDao.getList3();
    }

    @Override
    public List<Sugar1> getList4() {
        return sugarDao.getList4();
    }


}
